﻿using System;
using System.Collections.Generic;
using System.Text;
using Ghasam.Business.Domain.Entity;

namespace Ghasam.Business.Services {
    public interface IEmployeeLeaveService  {

        void Delete(EmployeeLeave employeeLeave);
        EmployeeLeave GetEmployeeLeave(int Id);
        void SaveOrUpdate(EmployeeLeave employeeLeave);
        IList<EmployeeLeave> GetEmployeeLeaves(Employee employee, DateTime startDate, DateTime endDate, int pageSize, int pageNumber);
        int CountEmployeeLeaves(Employee employee, DateTime startDate, DateTime endDate);
    }
}
